//package com.spider.im.chat;
//
//import com.spider.im.chat.dao.ChatMessageDAO;
//import com.spider.im.chat.dao.UserDAO;
//import com.spider.im.chat.model.User;
//import com.spider.im.chat.model.ChatMessage;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//public class LogbackTest {
//    private static final Logger logger = LoggerFactory.getLogger(LogbackTest.class);
//
//    public static void main(String[] args) {
//        UserDAO userDAO = new UserDAO();
//        userDAO.addUser(new User("yedong1225", "123456", "12345678901", "12345678901", ""));
//        userDAO.updateUser(new User("yedong1225", "123456", "18987488398", "yedong5672", ""));
//
//        ChatMessageDAO chatMessageDAO = new ChatMessageDAO();
//        chatMessageDAO.sendMessage(new ChatMessage(1L, 2L, "Hello, World!", "text", ""));
//
//        //userDAO.deleteUser("admin");
//
//    }
//}
